from flask import Flask, request, render_template, redirect, url_for


app = Flask(__name__)
# 禁止缓存
app.config['TEMPLATES_AUTO_RELOAD'] = True


@app.route('/')
def index():
    return redirect('/index_1')


@app.route('/index_1', methods=['GET', 'POST'])
def index_1():
    return render_template('发布者发布游戏数量分析.html')


@app.route('/index_2', methods=['GET', 'POST'])
def index_2():
    return render_template('发布者欧日销售额分析.html')


@app.route('/index_3', methods=['GET', 'POST'])
def index_3():
    return render_template('平台全球销售额.html')


@app.route('/index_4', methods=['GET', 'POST'])
def index_4():
    return render_template('平台全球销售额2.html')


@app.route('/index_5', methods=['GET', 'POST'])
def index_5():
    return render_template('游戏分类各地销售额分析.html')


@app.route('/index_6', methods=['GET', 'POST'])
def index_6():
    return render_template('游戏类型分析.html')


@app.route('/index_7', methods=['GET', 'POST'])
def index_7():
    return render_template('游戏平台发布次数.html')


if __name__ == "__main__":
    app.run()








